package cn.edu.ujs.coor.repository.item;

import cn.edu.ujs.coor.model.Message;
import cn.edu.ujs.coor.repository.BaseMapper;
import cn.edu.ujs.coor.response.ItemResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 消息相关Mapper
 *
 * @author 柳曾雄
 * @date 2018-07-29
 */
@Mapper
@Component
public interface ItemMapper extends BaseMapper<ItemResponse> {

    /**
     * 列表查询
     * @param projectId
     * @return
     */
    List<ItemResponse> list (@Param("projectId") String projectId);
}